<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://java.sun.com/jsf/core">
    <h:head>       
        <title>MSB Console Login</title>
    </h:head>
    <h:body onload="dlg.show();">
  
<p:dialog id="dialog" header="MSB Console Login" widgetVar="dlg" showEffect="clip" hideEffect="clip" 
	modal="true" resizable="false" width="500" draggable="false" closable="false">
    <form method="POST" action="/msbconsole/j_security_check"> 
        <p:messages id="messages" showDetail="true" autoUpdate="true"/>  
        <h:panelGrid columns="2" cellpadding="5">
        	<h:outputLabel for="loginerror" value="Login error:" />  
			<h:outputText id="loginerror" value="user name or password incorrect." style="color:#ff0000"/>

            <h:outputLabel for="username" value="Username:" />  
            <p:inputText id="j_username" required="true" label="username" />  
              
            <h:outputLabel for="password" value="Password:" />  
            <p:password id="j_password" required="true" label="password" />  
              
            <f:facet name="footer">
            <h:commandButton value="Login" type="submit" />
            </f:facet>  
        </h:panelGrid>          
    </form>
</p:dialog>  
</h:body>
</html>
